package com.yunxi.model.sat;

import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 消息模板
 * </p>
 *
 * @author caoYong
 * @since 2019-08-21
 */
@Data
@TableName("pms_msg_template")
@ApiModel(value="MsgTemplate对象", description="消息模板")
public class MsgTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "TEMPLATE_ID", type = IdType.UUID)
    private String templateId;

    @ApiModelProperty(value = "内容")
    @TableField("INFO")
    private String info;

    @ApiModelProperty(value = "类型(Template_type,1线索分配M,2线索分配S,3创建订单S,4订单取消S,5订单取消M,6驳回订单取消S,7总经理驳回订单取消S,8总经理同意订单取消JC,9撤销订单取消S,10申请试驾S,11战败申请M,12销售经理战败审批S,13总经理战败审批S,14销售经理战败分配NS,15销售经理战败分配OS,16总经理战败分配NS,17总经理战败分配OS,18试驾SJZJ,19试驾成功S,20试驾评价SJZJ,21交车JC,22交车成功S,23交车评价,24总经理同意战败S,25总经理战败驳回S,JC.M销售经理,S销售顾问,NS新销售顾问,OS原销售顾问,JC交付小驰,SJZJ试驾专家)")
    @TableField("TYPE")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

}
